import request from "@/utils/request";
// 查询厂商品牌信息列表
export function manufacturerBrandList(data={},params={}) {
  return request({
    url: '/frequency/cmanufacture/list',
    method: 'post',
    data,
    params
  })
}

// 重置密码
export function resetPassword(data) {
  return request({
    url: "/system/user/updatePwd",
    method: "put",
    data,
  });
}

// 查询是否需要提醒修改密码
export function checkPassword() {
  return request({
    url: "/system/user/remindUpdatePwd",
    method: "post",
  });
}

// 发送短信验证码的验证图
export function getCaptchaApi() {
  return request({
    url: "/api/bond/captchaImage",
    method: "get",
    headers:{
      isToken: false
    }
  });
}
// 发送短信验证码
export function sendSmsApi(data) {
  return request({
    url: "/api/sms/send/msg",
    method: "post",
    data,
    headers:{
      isToken: false
    }
  });
}
// 换绑微信
export function bindWx(data) {
  return request({
    url: "/frequency/callinfo/bind-rebind-wx",
    method: "post",
    data,
  });
}
//换绑微信
export function rebindWx(data) {
  return request({
    url: "/frequency/callinfo/re_wx_bind",
    method: "post",
    data,
  });
}

//验证手机号
export function sendSmsApi_new(data) {
  return request({
    url: "/frequency/saucdeposit/system-check-mobile",
    method: "post",
    data,
    headers:{
      isToken: true
    }
  });
}